@font-face {
    font-family: wedding_kt;
    src: url('./../font/unicode/Wedding_KT.EOT'); /* IE */  
    src: url('../../font/unicode/Wedding_KT.TTF') format("truetype"); /* non-IE */  
}
@font-face {
    font-family: marlboro;
    src: url(../../font/unicode/marlboro.eot); /* IE */  
    src: url(../../font/unicode/marlboro.TTF) format("truetype"); /* non-IE */  
}
@font-face {
    font-family: yen_tu;
    src: url('../../font/unicode/yen_tu.eot'); /* IE */  
    src: url(../../font/unicode/yen_tu.ttf) format("truetype"); /* non-IE */  
}
@font-face {
    font-family: floral;
    src: url(../../font/unicode/floral.eot); /* IE */  
    src: url(../../font/unicode/floral.ttf) format("truetype"); /* non-IE */  
}
@font-face {
    font-family: amazone;
    src: url(../../font/unicode/amazone.eot); /* IE */  
    src: url(../../font/unicode/amazone.ttf) format("truetype"); /* non-IE */  
}
@font-face {
    font-family: niagara;
    src: url(../../font/unicode/niagara.eot); /* IE */  
    src: url(../../font/unicode/niagara.ttf) format("truetype"); /* non-IE */  
}
@font-face {
    font-family: ambrosia;
    src: url(../../font/unicode/ambrosia.eot); /* IE */  
    src: url(../../font/unicode/ambrosia.ttf) format("truetype"); /* non-IE */  
}
@font-face {
    font-family: beautiful_caps;
    src: url('../../font/unicode/beautiful_caps.eot'); /* IE */  
    src: url('../../font/unicode/beautiful_caps.ttf') format("truetype"); /* non-IE */  
}
@font-face {
    font-family: camellia;
    src: url('../../font/unicode/camellia.eot'); /* IE */  
    src: url('../../font/unicode/camellia.ttf') format("truetype"); /* non-IE */  
}
@font-face {
    font-family: dinh_tran;
    src: url('../../font/unicode/dinh_tran.eot'); /* IE */  
    src: url('../../font/unicode/dinh_tran.ttf') format("truetype"); /* non-IE */  
}
@font-face {
    font-family: thu_phap;
    src: url('../../font/unicode/thu_phap.eot'); /* IE */  
    src: url('../../font/unicode/thu_phap.ttf') format("truetype"); /* non-IE */  
}
@font-face {
    font-family: scriptina_kt;
    src: url('../../font/unicode/scriptina_kt.eot'); /* IE */  
    src: url('../../font/unicode/scriptina_kt.ttf') format("truetype"); /* non-IE */  
}
@font-face {
    font-family: isadora;
    src: url('../../font/unicode/isadora.eot'); /* IE */  
    src: url('../../font/unicode/isadora.ttf') format("truetype"); /* non-IE */  
}
@font-face {
    font-family: isadora_bold;
    src: url('../../font/unicode/isadora_bold.eot'); /* IE */  
    src: url('../../font/unicode/isadora_bold.ttf') format("truetype"); /* non-IE */  
}
*{
    margin:0;
    padding:0;
}
body{
    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-style: normal;
}
input,select{
    border: 1px solid #AAAAAA;
    font-size: 12px;
    font-weight: normal;
    border-radius: 2px;
    height: 24px;
    width: 200px;
    text-indent: 5px;
}
textarea{
    border: 1px solid #AAAAAA;
    font-size: 14px;
    font-weight: normal;
    border-radius: 2px;
    width: 190px;
    resize:none;
    padding: 5px;
}
.left{float:left}
.right{float:right}
#content{
    position:relative;
    width:1010px;
    height:500px;
    margin:40px auto 0px auto;
    /*    background-color:#F9F9F9;
        -moz-border-radius:6px;
        -webkit-border-radius:6px;
        border-radius:6px;
        -moz-box-shadow:0px 0px 8px #ccc;
        -webkit-box-shadow:0px 0px 8px #ccc;
        box-shadow:0px 0px 8px #ccc;*/
}
.tool_bar{
    width: 300px;
}
#background{
    width: 700px;
    float: left;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}
.background{
    z-index: 100;
    width: 100%;
    position: relative;
}
#objects{   
    width:300px;
    margin-right: 10px;
}
.obj_item{
    cursor: pointer;
}
.obj_item .ui-wrapper {

}
.col_left{
    float: left;
    width: 80px;
}
.col_right{
    float: left;
    margin-left: 8px;   
    line-height: 26px;
}
#tools{
    width:300px;
    margin-right: 10px;
    margin-top: 10px;
    float: left;
}

.text_input {
    margin-top: 12px;
}
.font-family {
    margin-bottom: 8px;
    margin-top: 8px;
}
.item{
    border:3px solid #fff;
    background-color:#ddd;
    height:60px;
    position:relative;
    margin:2px 5px 2px 2px;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
    border-radius:3px;
    -moz-box-shadow:0px 0px 2px #999;
    -webkit-box-shadow:0px 0px 2px #999;
    box-shadow:0px 0px 2px #999;
}
.thumb{
    width:50px;
    height:50px;
    margin:5px;
    float:left;
}
a.remove{
    width:16px;
    height:16px;
    position:absolute;
    top:0px;
    right:0px;
    background:transparent url(cancel.png) no-repeat top left;
    opacity:0.5;
    cursor:pointer;
}
a.remove:hover{
    opacity:1.0;
}
.slider{
    float: left;
    width: 115px;
    margin: 30px 0px 0px 5px;
    background-color:#fff;
    height:10px;
    position:relative;
}
.slider span{
    font-size:10px;
    font-weight:normal;
    margin-top:-25px;
    float:left;
}
.slider span.degrees{
    position:absolute;
    right:-22px;
    top:20px;
    width:20px;
    height:20px;
}
.slider .ui-slider-handle { 
    width:10px;
    height:20px;
    outline:none;
}

a#submit{
    float: right;
    width:180px;
    height:50px;
    text-align:center;
    line-height:60px;
    color:#fff;
    background-color:#555;
    border:2px solid #fff;
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    border-radius:10px;
    cursor:pointer;
    -moz-box-shadow:0px 0px 2px #aaa;
    -webkit-box-shadow:0px 0px 2px #aaa;
    box-shadow:0px 0px 2px #aaa;
}
a#submit:hover{
    background-color:#333;
}
a#submit span{
    width:134px;
    height:33px;
    float:left;
    background:transparent url(download.png) no-repeat top left;
    margin:9px 0px 0px 24px;
}
#content .active{
    z-index: 200;
    overflow: visible;
}
#content .active .ui-wrapper{   
    -moz-box-shadow:0px 2px 15px #333; 
    -webkit-box-shadow:0px 2px 15px #333; 
    box-shadow:0px 2px 15px #333; 
    overflow: visible;
    border: 1px dashed #333333;
}

.obj_item .transformable-handle-rotate,.obj_item .ui-resizable-handle,.text .transformable-handle-rotate{
    display: none;
}
#content .active .transformable-handle-rotate,#content .active .ui-resizable-handle{
    display: block;
}
.obj_item img.ui-widget-content{
    border: none;
}
input[type=file]{
    cursor: pointer;
}
.container_block{
    margin-top: 10px;
}
#template_scroll{
    list-style: none;
}
#pattern_scroll{
    list-style: none;
}
.template_item,.pattern_item {
    border: 1px solid #A6BDB7;
    padding: 2px;
    cursor: pointer;
    width: 128px;
    float: left;
    margin: 5px 4px 3px 4px;
}
.template_item:hover,.pattern_item:hover {
    border: 1px solid #408E66;
}
.template_item img,.pattern_item img {
    width:128px;
}
.ui-resizable-handle{
    border: 1px solid #333333;
    background: none repeat scroll 0 0 #EEEEEE
}

#background .text{
    position: absolute;
    z-index: 200;
    padding: 0px;
    margin: 0px;
    font-family: wedding_kt;
    font-size: 25px;
    color: #000;
    font-weight: bold;
    line-height: auto;
    /*    text-shadow: -1px 0 white, 0 1px white,1px 0 white, 0 -1px white;*/
    text-shadow: 2px 2px 1px #000000;
    overflow: visible;
    display: block;
}

#background .text_active{
    border: 1px dashed #333333;
    box-shadow: 0 0 5px #AAAAAA;
    overflow: visible;

}
#background .text_active .transformable-handle-rotate{
    display: block;
}
ul.fontselector {
    background: white;
    border: 1px solid #ccc;
    font-size: 14px;
    float: left;
    list-style: none;
    margin: 0;
    padding:0;
    line-height: 1.2;
    z-index:    10;
    position:   absolute;
    width: 200px;
    -moz-box-shadow:0px 0px 2px #aaa;
    -webkit-box-shadow:0px 0px 2px #aaa;
    box-shadow:0px 0px 2px #aaa;
    margin-top: -2px;
}
ul.fontselector li {
    margin:   2px;
    padding:  0;
    float: left;
    width: 48%;
}
ul.fontselector a {
    display:    block;
    padding:    3px;
    color:      black;
    text-decoration: none;
}
ul.fontselector a:hover {
    background: #ddd;
    cursor:     pointer;
}
.sbHolder {    
    border: 1px solid #AAAAAA;
    font-size: 12px;
    font-weight: normal;
    border-radius: 2px;
    height: 24px;
    width: 200px;
    position: relative;
    background: #FFFFFF;
}
.sbToggle {
    background: url("../../images/select-icons.png") no-repeat scroll 0 -170px transparent;
    display: block;
    height: 24px;
    outline: medium none;
    position: absolute;
    right: 0;
    top: 0;
    width: 30px;
    cursor: pointer;
}
.sbSelector {
    cursor: pointer;
    display: block;
    height: 24px;
    left: 0;
    line-height: 24px;
    outline: medium none;
    overflow: hidden;
    position: absolute;
    text-indent: 5px;
    top: 0;
    width: 170px;
    font-weight: bold;
}
#color_pick{
    width: 20px;
    border: 1px solid #AAAAAA;
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    border-radius:10px;
}
#icp_color_pick{
    position: absolute;
    z-index: 1;
    background: url('../../images/colorpicker/ui_color_picker.png') no-repeat;
    width: 24px;
    height: 24px;
    position: absolute;
    z-index: 2;
    cursor: pointer;
}
.color_bg{
    position: absolute;
    z-index: 1;
    height: 16px;
    width: 18px;
    margin:3px;
}
.color_picker_contain{
    position: relative;
    float: left;
    margin-left: 8px;
    margin-top: 2px;
}
#fontSize{
    width: 168px;
    margin-top: 7px;
}
#txtText{
    font-weight: bold;
    height: 16px;
}
.box {
    -moz-border-bottom-colors: none;
    -moz-border-image: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background: none repeat scroll 0 0 #F9F9F9;
    border: 1px solid #D5D5D5;
    box-shadow: 4px 5px 5px -3px #CCCCCC;
    float: left;
    border-radius: 0 10px 0 10px;
}
.box .content {
    background: none repeat scroll 0 0 #7EC9BA;
    border-radius: 0 10px 0 10px;
    display: table;
    float: left;
    height: 40px;
    margin: 5px;
    width: 125px;
}
.box .content span {
    color: #FFFFFF;
    cursor: pointer;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    font-size: 12px;
    font-weight: bold;
}
.container_block {
    float: left;
    width: 300px;
}
.container_block div.title {
    color: #333333;
    float: left;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 0;
    padding: 0 0 5px 0;
    width: 100%;
}
.block_list {
    -moz-border-bottom-colors: none;
    -moz-border-image: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: #6ED5D6 #D8DFEA #D8DFEA;
    border-right: 1px solid #D8DFEA;
    border-style: solid;
    border-width: 2px 1px 1px;
    float: left;
    padding: 5px;
    width: 95%;
    list-style: none;
}
ul.block_list li {
    float: left;
    line-height: 17px;
    margin: 5px 4px 3px 4px;
    text-align: center;
}
.pagination-top {
    text-align: center;
    width: 61px;
    float: right;
}
.pagination-top .next-btn {
    background: url("../../images/file_nav_next.gif") no-repeat scroll 0 0 transparent;
    display: block;
    height: 16px;
    width: 30px;
}
.pagination-top .next-btn:hover {
    background: url("../../images/file_nav_next_hover.gif") no-repeat scroll 0 0 transparent;

}
.pagination-top .previous-btn {
    background: url("../../images/file_nav_previous.gif") no-repeat scroll 0 0 transparent;
    display: block;
    height: 16px;
    width: 30px;
}
.pagination-top .previous-btn:hover {
    background: url("../../images/file_nav_previous_hover.gif") no-repeat scroll 0 0 transparent;

}
.box .content:hover
{   
    background: #50BFAA;
}
#tabs{
    float: left;
    width: 98%;
}
#tabs ul{
    list-style: none;
    background: #5CC9C9;    
}
#tabs ul li{
    list-style: none;
    /*    background: #50BFAA*/
}
#tabs .ui-state-default a{
    font-size: 12px;
    color: #FFFFFF;
}
#tabs a:hover{
    color: #6ED5D6;
}
#tabs ul li.ui-state-active a
{
    color: #6ED5D6;
}
#tabs .ui-tabs-panel{
    width: 100%;
    float: left;
    padding: 0px;
}
.icon_i_img{
    background: url('../../images/ecard/image_add.png');
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}
.icon_i_text{
    background: url('../../images/ecard/text_add.png');
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}
.icon_i_layer{
    background: url('../../images/ecard/group.png');
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}
#text_control{
    float: left;
    width: 100%;
}
.ui-tabs-panel{
    font-size: 12px;
}
.layer_list{
    width: 100%;
    float: left;
    margin-top: 8px;
}

.layer_list .layer{
    width: 96%;
    background: #F9F9F9;
    float: left;
    padding: 4px 5px;
    border-bottom: 1px dashed #D5D5D5;
    line-height: 30px;
    margin: 0px;
    cursor: pointer;

}
.layer_list .layer:hover{
    background: #F5F5F5;
    border-bottom: 1px dashed #D5D5D5;    
}

.layer img{
    float: left;
    width: 30px;
    height: 30px;
    margin-right: 5px;
    border: 1px solid #333;
    background: #FFFFFF;
    vertical-align: middle;
}